package com.zixuan.gulicollege.eduservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * @ClassName: EduApplication
 * @Author: zixuan
 * @Date: 2021/4/28 20:15
 * @Description:
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.zixuan.gulicollege"})
@MapperScan("com.zixuan.gulicollege.eduservice.mapper")
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
        System.out.println("后台服务启动成功(づ￣ 3￣)づ \n" +
                " _____    _         _____                 _          \n" +
                "|  ___|  | |       /  ___|               (_)         \n" +
                "| |__  __| |_   _  \\ `--.  ___ _ ____   ___  ___ ___ \n" +
                "|  __|/ _` | | | |  `--. \\/ _ \\ '__\\ \\ / / |/ __/ _ \\\n" +
                "| |__| (_| | |_| | /\\__/ /  __/ |   \\ V /| | (_|  __/\n" +
                "\\____/\\__,_|\\__,_| \\____/ \\___|_|    \\_/ |_|\\___\\___|\n");
    }
}
